﻿
namespace EasyNet.Solr
{
    /// <summary>
    /// 查询过滤器泛型接口
    /// </summary>
    /// <typeparam name="T">过滤后要返回对象的类型</typeparam>
    public interface IQueryFilter<T>
    {
        /// <summary>
        /// 对查询进行过滤
        /// </summary>
        /// <param name="query">查询</param>
        /// <returns>结果对象</returns>
        T Filter(string query);
    }
}
